STEP 13: Let's add some commands to the loop in the function. The commands must be indented 8 spaces!

  • Change the range() of the loop from 5 to 6.
  • Drop Flip Right Left INSIDE the loop. It should be indented twice, once for the function, once for the loop!
  • Drop Wait INSIDE the loop and change the wait time to 1 second. It should be indented twice.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)